home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Events.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  66 lines

  1. /*
  2.      File:        Events.idl
  3.  
  4.      Contains:    Event Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __EVENTS_IDL__
  19. #define __EVENTS_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __OSUTILS_IDL__
  25. #include <OSUtils.idl>
  26. #endif
  27. #ifndef __QUICKDRAW_IDL__
  28. #include <Quickdraw.idl>
  29. #endif
  30. #ifndef __TYPES_IDL__
  31. #include <Types.idl>
  32. #endif
  33.  
  34. #ifdef __SOMIDL__
  35.  
  36. typedef UInt16                    EventKind;
  37.  
  38. typedef UInt16                    EventMask;
  39.  
  40. typedef UInt16                    EventModifiers;
  41.  
  42. typedef SOMLargeStruct            EventRecord;                /* Derived from a struct of 16 bytes in size */
  43.  
  44. typedef OpaquePtr                KeyMap;                        /* Substituted OpaquePtr for array of UInt32 of size 4 */
  45.  
  46. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  47. typedef OpaquePtr FKEYProcPtr;
  48. typedef OpaquePtr FKEYUPP;
  49. #endif
  50. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  51. /* Obsolete event types & masks */
  52. typedef SOMLargeStruct            EvQEl;                        /* Derived from a struct of 22 bytes in size */
  53.  
  54. typedef OpaquePtr                EvQElPtr;                    /* Substituted OpaquePtr for ``EvQEl*'' */
  55.  
  56. typedef OpaquePtr GetNextEventFilterProcPtr;
  57. typedef OpaquePtr GetNextEventFilterUPP;
  58. typedef GetNextEventFilterUPP    GNEFilterUPP;
  59.  
  60. #endif
  61.  
  62. #endif /* __SOMIDL__ */
  63.  
  64. #endif /* __EVENTS_IDL__ */
  65.  
  66.